package com.lxh.demo.eureka_feign_server;

import org.springframework.boot.actuate.health.Health;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.stereotype.Component;

/**
 * @create: 2021-01-25 15:42
 * @author: xiaoh.luo001@bkjk.com
 * @description:
 **/
@Component
public class CustomHealthIndicator implements HealthIndicator {

    @Override
    public Health health() {
        return new Health.Builder().build();
    }
}
